using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Text;
namespace Maticsoft.Web.Register.schedulingInfo
{
    public partial class Show : Page
    {        
        		public string strid=""; 
		protected void Page_Load(object sender, EventArgs e)
		{
			if (!Page.IsPostBack)
			{
				if (Request.Params["id"] != null && Request.Params["id"].Trim() != "")
				{
					strid = Request.Params["id"];
					string SchedulingInfo_ID= strid;
					ShowInfo(SchedulingInfo_ID);
				}
			}
		}
		
	private void ShowInfo(string SchedulingInfo_ID)
	{
		Maticsoft.BLL.Register.schedulingInfo bll=new Maticsoft.BLL.Register.schedulingInfo();
		Maticsoft.Model.Register.schedulingInfo model=bll.GetModel(SchedulingInfo_ID);
		this.lblSchedulingInfo_ID.Text=model.SchedulingInfo_ID;
		this.lblDepartments_ID.Text=model.Departments_ID;
		this.lblDoctor_ID.Text=model.Doctor_ID;
		this.lblSchedulingInfo_TimeType.Text=model.SchedulingInfo_TimeType;
		this.lblSchedulingInfo_DayTime.Text=model.SchedulingInfo_DayTime.ToString();
		this.lblSchedulingInfo_OutpatientType.Text=model.SchedulingInfo_OutpatientType;
		this.lblSchedulingInfo_RegisteredNumber.Text=model.SchedulingInfo_RegisteredNumber.ToString();
		this.lblSchedulingInfo_ConfirmStatus.Text=model.SchedulingInfo_ConfirmStatus;
		this.lblSchedulingInfo_Status.Text=model.SchedulingInfo_Status;
		this.lblSchedulingInfo_AddTime.Text=model.SchedulingInfo_AddTime.ToString();
		this.lblSchedulingInfo_Recoder.Text=model.SchedulingInfo_Recoder;
		this.lblSchedulingInfo_LastAmendTime.Text=model.SchedulingInfo_LastAmendTime.ToString();
		this.lblSchedulingInfo_LastAmendPerson.Text=model.SchedulingInfo_LastAmendPerson;

	}


    }
}
